package com.gai.web.video.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gai.web.video.entity.GVideo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gai.web.video.vo.VideoByTypeVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Captain
* @description 针对表【g_video】的数据库操作Mapper
* @createDate 2022-05-25 15:11:50
* @Entity com.gai.web.video.entity.GVideo
*/
public interface GVideoMapper extends BaseMapper<GVideo> {

    IPage<GVideo> videoPage(Page<GVideo> page, @Param(Constants.WRAPPER) QueryWrapper<GVideo> queryWrapper);

    List<VideoByTypeVo> getVideoByType();
}




